@layout("/common/_curd/_container.html"){

	<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">
		<!-- 表单 -->
		@ var _table="patient_queue";
		@ var _key="id";
		@ var _col=[
@			  {name:"", index:"id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"db_source_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"patient_name", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"queue_type_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"register_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"queue_num", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"sub_queue_order", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"sub_queue_type", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"pager_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"doctor_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"call_time", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"is_priority", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"return_flag", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"is_display", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"time_interval", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"fre_date", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"opr_time", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"content", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"state_custom", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"patient_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"queue_type_source_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"start_time", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"state_patient", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"call_count", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"source_id", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"delay_time", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"operator_type", type:"text",newline:true,length:8,required:"required"},
		@			  {name:"", index:"parent_id", type:"text",newline:true,length:8,required:"required"}		
		@		   ];
		@ include("/common/_curd/_edit.html", {"col":_col, "table":_table, "key":_key}){}
		
		<!-- 按钮 -->
		@ include("/common/_curd/_btn.html", {btn_save:"修改", btn_close:"关闭"}) {}
	</form>

@}